package com.medvalley.tcm.service;

import com.medvalley.tcm.controller.admin.vo.inputvo.AdminSearchDoctorInputVo;
import com.medvalley.tcm.controller.admin.vo.outputvo.DoctorOutputVo;
import com.medvalley.tcm.controller.admin.vo.outputvo.PageDataOutputVo;
import com.medvalley.tcm.domain.Doctor;
import com.medvalley.tcm.vo.inputvo.SearchDoctorInputVo;
import com.medvalley.tcm.vo.outputvo.DoctorPageOutputVo;

/**
 * @author linsong
 * @date 2019/4/21 15:30
 **/

public interface DoctorService {

    long save(Doctor doctor);

    Doctor updateDoctor(Doctor doctor);

    Doctor getById(long id);

    Doctor login(String phone);

    void saveCredential(String phone, String url);

    void setHeadIcon(String phone, String url);

    void findNotCredentialDoctor(int pageNo, int pageSize, DoctorPageOutputVo doctorPageOutputVo);


    void updateCredentialStatus(long id, int status);

    DoctorPageOutputVo searchDoctor(SearchDoctorInputVo searchDoctorInputVo);

    void deleteDoctor(long id);

    PageDataOutputVo<DoctorOutputVo> search(AdminSearchDoctorInputVo adminSearchDoctorInputVo);

}
